package com.fram.mapper;

import java.util.List;

import com.fram.bean.admin.recoveryform.response.RecoveryResponse;
import com.fram.entity.RecoveryForm;

public interface RecoveryFormMapper {
    int deleteByPrimaryKey(Long id);

    int insert(RecoveryForm record);

    int insertSelective(RecoveryForm record);

    RecoveryForm selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(RecoveryForm record);

    int updateByPrimaryKey(RecoveryForm record);
    
    List<com.fram.bean.api.recovery.response.RecoveryResponse> listForApi(RecoveryForm request);
    
    List<RecoveryResponse> listForAdmin(RecoveryForm request);
}